package org.bpms.routes;

import org.bpms.controller.admin.AdminController;
import org.bpms.controller.admin.BookController;
import org.bpms.controller.admin.BooktempController;
import org.bpms.controller.admin.DeptController;
import org.bpms.controller.admin.LogController;
import org.bpms.controller.admin.MenuController;
import org.bpms.controller.admin.ProgressController;
import org.bpms.controller.admin.RoleController;
import org.bpms.controller.admin.TypeController;
import org.bpms.controller.admin.UserController;
import org.bpms.plugins.upload.FileUploadController;

import com.jfinal.config.Routes;

/**
 * 后台路由集合
 * @author hupei
 *
 */
public class AdminRoutes extends Routes {

	@Override
	public void config() {
		add("/admin", AdminController.class);
		add("/menu", MenuController.class);
		add("/role", RoleController.class);
		add("/user", UserController.class);
		add("/dept", DeptController.class);
		add("/log", LogController.class);
		add("/upload", FileUploadController.class);
		
		
		add("/type", TypeController.class);
		add("/book", BookController.class);
		add("/booktemp", BooktempController.class);
		add("/process", ProgressController.class);
	}

}
